package com.zwh.se.common.pojo;

/**
 * @author yexi
 *
 * 所谓pojo类，就是除了get、set之外不做任何业务处理的简单java类
 * 此pojo类甚至没有重写hashCode，用于各地的比较使用
 */
public class POJO {
    private Long id;
    private String name;
    private int age;

    @Override
    public String toString() {
        return "POJO{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public POJO() {
    }

    public POJO(Long id, String name, int age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }
}
